home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Other Langs / Tickle-4.0 (tcl) / library / help / tcl / strings / csubstr < prev    next >
Encoding:
Text File  |  1993-10-26  |  560 b   |  13 lines  |  [TEXT/$Tcl]

  1.  
  2.  
  3.           csubstr string firstExpr lengthExpr
  4.                Returns a range of characters from string  starting  at
  5.                the  character  indexed  by  the  expression  firstExpr
  6.                (zero-based) for lengthExpr characters.
  7.  
  8.                If the expression firstExpr or lengthExpr  starts  with
  9.                the  string end, then end is replaced with the index of
  10.                the last character in the string.   If  the  expression
  11.                starts  with  len, then len is replaced with the length
  12.                of the string.
  13.